<!--
  描述：渠道标示详情页
  @author jiafei
  @since 2021/12/06 11:23
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>新增分类</title>
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
        <form method="post" action="" class="layui-form" lay-filter="zmn-form">

            <div class="layui-split">&nbsp;</div>
            <div class="layui-form-item">
                <label class="layui-form-label">标示名称：</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width: 390px">
                        <input type="text" name="name" th:value="${channelMark.name}" placeholder="标示名称"
                               lay-verify="required" autocomplete="off" class="layui-input" maxlength="100"/>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">排序：</label>
                <div class="layui-input-block">
                    <div class="layui-input-inline" style="width: 250px">
                        <input type="text" name="sort" th:value="${channelMark.sort}" placeholder="排序"
                                autocomplete="off" class="layui-input" maxlength="100"/>
                    </div>
                    <p style="display: inline-block;padding-top: 16px;color: #999999">数字越小，在越前面</p>
                </div>
                <div class="layui-input-block" style="padding-top: 10px;color: red">
                    <p>新增成功后不允许修改，请认真填写</p>
                </div>
            </div>

            <div class="layui-split">&nbsp;</div>
            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit">提交
                        </button>
                        <button class="layui-btn layui-btn-primary" lay-filter="cancleBtn" id="cancleBtn">
                            取消
                        </button>
                    </div>
                </div>
            </div>

        </form>

    </div>

</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        channelMark: [[${channelMark}]]
    };

    layui.config({
        base: "/static/lay/",
        version: 20211206123547
    }).extend({
        index: "lib/index",
        plat_channel_mark_group_detail: "channel/mark/group/zmn.plat.channel.mark.group.edit",
    }).use(['index', 'plat_channel_mark_group_detail']);

</script>
</body>
</html>